//
//  HomeSearchView.h
//  BusinessMarket
//
//  Created by Michael Li on 2018/11/13.
//  Copyright © 2018年 Michael Li. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
@class HomeSearchHeadView;
typedef void (^HomeSearchViewReturnSearchBlock)(NSInteger selected,NSString *text);
@protocol HomeSearchHeadViewDelegate<NSObject>
-(void)homeSearchHeadView:(HomeSearchHeadView *)homeSearchHeadView withTFChange:(UITextField *)tfChange;
@end
@interface HomeSearchHeadView : UIView
@property(nonatomic,copy) HomeSearchViewReturnSearchBlock
returnValueSearcBlock;
@property(nonatomic,strong) UITextField *tf;
@property(nonatomic,weak) id<HomeSearchHeadViewDelegate>delegate;

@end

NS_ASSUME_NONNULL_END
